<?php
/**
 * Md5.php
 *
 * @category    Madoqua 
 * @package     Filter
 */

/** interface */
require_once 'Zend/Filter/Interface.php';

/**
 * Madoqua_Filter_Md5
 *
 * @category    Madoqua 
 * @package     Filter
 */
class Madoqua_Filter_Md5 implements Zend_Filter_Interface 
{
    /**
     * Returns the result of filtering $value
     *
     * @param  mixed $value
     * @throws Zend_Filter_Exception If filtering $value is impossible
     * @return mixed
     */
    public function filter($value) {
        return md5($value);
    }
}